import { mergeTemplates } from '$lib/builder';
import { Description, Glyph } from '$lib/components';
import { landscape } from '$lib/landscape';
import { defineComponent } from '$lib/ecs';

export const Ground = defineComponent('Ground', {});

export const rawGround = mergeTemplates(landscape, [
  [Ground],
  [Description, {
    summary: 'ground',
  }],
  [Glyph, {
    glyph: '.',
    color: '#532',
  }],
]);

export const concreteFloor = mergeTemplates(landscape, [
  [Ground],
  [Description, {
    summary: 'concrete floor',
  }],
  [Glyph, {
    glyph: '.',
    color: '#666',
  }],
]);

export const woodenFloor = mergeTemplates(landscape, [
  [Ground],
  [Description, {
    summary: 'wooden floor',
  }],
  [Glyph, {
    glyph: '.',
    color: '#a64',
  }],
]);
